package oeg.csmz.xg2333;

import java.util.Scanner;

public class demo {
    public static void main(String[] arg){
        int bian_hao = 100086;
        String name = "手机";
        double jie_ge = 4999;
        boolean yes_no = true;
        char fen_lei = 'E';
        short num = 500;
        long yi_num = 1234567890l;
        float zhe_kou = 0.8f;
        byte age = 10;
        System.out.println("商品编号："+bian_hao);
        System.out.println("商品名称："+name);
        System.out.println("商品价格："+jie_ge);
        System.out.println("是否可用："+yes_no);
        System.out.println("商品分类："+fen_lei);
        System.out.println("库存数量："+num);
        System.out.println("已售数量："+yi_num);
        System.out.println("商品折扣："+zhe_kou*100+"%");
        System.out.println("使用寿命："+age);


        /**
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您的名字：");
        String name = scanner.nextLine();
        System.out.println("你好 "+name+" 欢迎来到JAVA！");
         */
    }
}
